/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package bzr_lagerverwaltung;

/**
 *
 * @author fhiesl
 */
public class Lieferant {
    private int id;
    private String name;
    private String ort;
    private int plz;
    private String straße;
    private int hnr;

    /**
     * @return the id
     */
    public int getId() {
        return id;
    }

    /**
     * @param id the id to set
     */
    public void setId(int id) {
        this.id = id;
    }

    /**
     * @return the name
     */
    public String getName() {
        return name;
    }

    /**
     * @param name the name to set
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * @return the ort
     */
    public String getOrt() {
        return ort;
    }

    /**
     * @param ort the ort to set
     */
    public void setOrt(String ort) {
        this.ort = ort;
    }

    /**
     * @return the plz
     */
    public int getPlz() {
        return plz;
    }

    /**
     * @param plz the plz to set
     */
    public void setPlz(int plz) {
        this.plz = plz;
    }

    /**
     * @return the straße
     */
    public String getStraße() {
        return straße;
    }

    /**
     * @param straße the straße to set
     */
    public void setStraße(String straße) {
        this.straße = straße;
    }

    /**
     * @return the hnr
     */
    public int getHnr() {
        return hnr;
    }

    /**
     * @param hnr the hnr to set
     */
    public void setHnr(int hnr) {
        this.hnr = hnr;
    }
    @Override
    public String toString(){
        return name;
    }



}
